<h1>Apis#keys_list</h1>
<div class="searchform">
<% form_for :key, :url => {:action => :key_add} do |f| %>
  <p>controller name：<%= f.text_field :controller, :class => :long %></p>
  <p>url：<%= f.text_field :url, :class => :long %></p>
  <p>sec_key：<%= f.text_field :sec_key, :class => :long %></p>
  <p>bili_key：<%= f.text_field :bili_key, :class => :long %></p>
      <%= f.hidden_field :app_id, :value => params[:id] %>
  <p><%= f.submit '----加----' %></p>
<% end %>
<% @keys.each do |key| %>
<p>
  <%= link_to key.controller, :action => :key_edit, :id => key.id %> |
  <%= key.url %> |
  <%= link_to 'del', :action => :key_remove, :id => key.id %>
</p>
<% end %>
</div>
